<form class="layui-form" lay-filter="tpl_site{$site_id}" action="{:url('site/saveData')}">
	<input type="hidden" name="site_id" class="layui-input" />
	<div class="layui-form-item">
		<label class="layui-form-label">分站名称</label>
		<div class="layui-input-inline">
			<input type="text" name="site_name" lay-verify="required" placeholder="请输入分站名称" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">分站域名</label>
		<div class="layui-input-inline">
			<input type="text" name="site_http"  placeholder="http://" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">主站产品</label>
		<div class="layui-input-inline" style="width: 100px;">
			<input type="checkbox" name="master_site_goods" title="可获取" lay-skin="primary" lay-filter="site_master_site_goods">
		</div>
		<div class="layui-form-mid layui-word-aux"><i class="layui-icon layui-icon-tips" data-title="分站可获取主站产品信息，各分站对产品的维护都相互不影响。"></i></div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">产品独立</label>
		<div class="layui-input-inline" style="width: 100px;">
			<input type="checkbox" name="goods_alone" title="独立" lay-skin="primary" lay-filter="site_goods_alone">
		</div>
		<div class="layui-form-mid layui-word-aux"><i class="layui-icon layui-icon-tips" data-title="产品独立后分站产品数据将不受监管"></i></div>
	</div>
	<div class="layui-form-item goods-audit-div">
		<label class="layui-form-label">产品审核</label>
		<div class="layui-input-inline" style="width: 100px;">
			<input type="checkbox" name="goods_audit" title="需要" lay-skin="primary" lay-filter="site_goods_audit">
		</div>
		<div class="layui-form-mid layui-word-aux"><i class="layui-icon layui-icon-tips" data-title="分站对产品操作都需要主站管理员审核，各个站点的数据修改都相互不影响，这里只是监管作用！"></i></div>
	</div>
	
	
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_site">保存数据</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script>
	// 赋值
	var site_form_value = {$data};
</script>
<script src="/static/js/site/site_tpl.js" type="text/javascript" charset="utf-8"></script>